wayland: Roundtrip until we've receive initial input and output configuration
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 26 Mar 2013 18:42:14 +0000 (14:42 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 26 Mar 2013 18:42:16 +0000 (14:42 -0400)
commita9e980e578adea65be0c97e398f0e59eb6338ac7
tree179eb7b0fbc6b62ce704da9f0e0379d5a1eead83
parentb1aa23f4bd5397d2c12f80aed31853c49e8e283b
wayland: Roundtrip until we've receive initial input and output configuration

We use a ref-count mechanism to track whether parts of the init sequence
still needs round trips to receive remaining initial state.  Typically
we need a couple of roundtrips total to get the global list, then the
input and output configurations, but with the ref-count we avoid making
global assumptions like that.

https://bugzilla.gnome.org/show_bug.cgi?id=696340
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkscreen-wayland.c